<%@ page language="java" pageEncoding="UTF-8"%>

<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html"%>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic"%>
<%@ taglib uri="http://struts.apache.org/tags-tiles" prefix="tiles"%>


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html:html lang="true">
<head>
	<html:base />

	<title>pop_window_writeback.jsp</title>

	<meta http-equiv="pragma" content="no-cache" />
	<meta http-equiv="cache-control" content="no-cache" />
	<meta http-equiv="expires" content="0" />
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3" />
	<meta http-equiv="description" content="This is my page" />

</head>

<body>
	<html:form action="/pop_window">
	<script type="text/javascript">
		<logic:iterate id="pagePropVal" name="popWindowForm" property="pagePropArr" indexId="indexId">
			opener.document.<bean:write name="popWindowForm" property="formName" />.${popWindowForm.pagePropArr[indexId]}.value='${popWindowForm.writeBackValArr[indexId]}';
		</logic:iterate>
		window.close();
	</script>
	</html:form>
</body>
</html:html>
